package edu.scau.hot.entity;

import java.io.Serializable;

/**
 * (HotDiscount)实体类
 *
 * @author PaperEasyCode
 * @since 2022-03-02 15:25:26
 */
public class HotDiscount implements Serializable{
    private static final long serialVersionUID = 932092767862956263L;

    /**
     * 折扣ID
     */
    private Integer discountId;
    /**
     * 房型ID
     */
    private Integer typeId;
    /**
     * 生效规则
     */
    private Integer discountRule;
    /**
     * 折扣比例:与优惠后价格乘法计算
     */
    private Double discountPercent;
    /**
     * 固定优惠:先于折扣比例计算,相当于固定面值的优惠券,存在正值
     */
    private Double discountAmount;


    public Integer getDiscountId() {
        return discountId;
    }

    public void setDiscountId(Integer discountId) {
        this.discountId = discountId;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getDiscountRule() {
        return discountRule;
    }

    public void setDiscountRule(Integer discountRule) {
        this.discountRule = discountRule;
    }

    public Double getDiscountPercent() {
        return discountPercent;
    }

    public void setDiscountPercent(Double discountPercent) {
        this.discountPercent = discountPercent;
    }

    public Double getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(Double discountAmount) {
        this.discountAmount = discountAmount;
    }

}

